package cn.itsource.pethome.order.domain;

import cn.itsource.pethome.basic.domain.BaseDomain;

import java.math.BigDecimal;
import java.util.Date;

import cn.itsource.pethome.org.domain.Shop;
import cn.itsource.pethome.product.domain.Product;
import cn.itsource.pethome.user.domain.User;
import lombok.Data;

@Data
public class OrderProduct extends BaseDomain {

    /**
    * 摘要
    */
    private String digest;

    /**
    * 待支付0 待消费1 待确认2 完成3 取消-1
    */
    private Integer state;

    private BigDecimal price;

    /**
     * 订单号
     */
    private String orderSn;

    /**
     * 支付号
     */
    private String paySn;

    private Date lastPayTime;

    private Date lastConfirmTime;

    private Product product;

    private User user;

    private Shop shop;

    private String payway;
}